class Person(object):
    def __init__(self, name):
        self.hit_points = 100
        self.attack_value = 10
        self.hurt_num = 0
        self.decrease_val = 2
        self.name = name
        if self.hit_points < 0:
            del self

    def attack(self, dog):
        dog.hit_points -= self.attack_value
        dog.hurt_num += 1
        dog.attack_value -= dog.hurt_num * dog.decrease_val
        print(f'{self.name} is attacking {dog.name},{dog.name} remains {dog.hit_points} hp')

